﻿@model HQPad.Controllers.UserModel

@{
    ViewBag.Title = "ChangePassword";
}

@section PageScripts {
}

<h1>Change password for user @Html.Raw(Model.User.UserName)</h1>

<section class="content">
@using (Html.BeginForm("ChangePassword","User", new { userName = Model.User.UserName }, FormMethod.Post)) {
    <fieldset class="block">
        <legend>Change password</legend>

        <div class="field-item">
            <div class="label">@Html.Label("password", "Password")</div>
            @Html.Password("password", "")
            @Html.ValidationMessage("password")
        </div>

        <p><input type="submit" value="Change" /></p>
    </fieldset>
}
</section>
